39 #ifndef ORO_RTT_CORBA_CONVERSION_HPP 40 #define ORO_RTT_CORBA_CONVERSION_HPP 44 #include "OrocosTypesC.h" 45 #include "TaskContextC.h" 103 return new CORBA::Any(*t);
106 static bool updateAny(
const StdType& t, CORBA::Any& any ) {
108 any <<= CORBA::Any(*t);
119 static bool update(
const CORBA::Any& any, CORBA::Any_var _value) {
127 return new CORBA::Any( t.in() );
130 static bool updateAny(
const StdType& t, CORBA::Any& any ) {
132 any <<= CORBA::Any( t.in() );
145 static CORBA::Any::from_boolean
toAny(
bool t ) {
147 return CORBA::Any::from_boolean(t);
149 static CORBA::Any::to_boolean
fromAny( CORBA::Boolean& t ) {
150 return CORBA::Any::to_boolean(t);
152 static StdType
get(
const CORBA::Boolean t) {
156 static bool toStdType(StdType& tp,
const CorbaType& cb) {
165 static bool update(
const CORBA::Any& any, StdType& _value) {
194 static CORBA::Any::from_char
toAny( StdType t ) {
195 return CORBA::Any::from_char(t);
198 static CORBA::Any::to_char
fromAny( CorbaType& t ) {
199 return CORBA::Any::to_char(t);
202 static StdType
get(
const CorbaType t) {
206 static bool toStdType(StdType& tp,
const CorbaType& cb) {
215 static bool update(
const CORBA::Any& any, StdType& _value) {
244 static CorbaType
toAny(
const std::string& orig) {
249 static StdType
get(
const CorbaType t) {
253 static bool toStdType(StdType& dest,
const CorbaType src) {
270 static bool update(
const CORBA::Any& any, StdType& _value) {
273 if ( any >>= result ) {
286 static bool updateAny( StdType
const& t, CORBA::Any& any ) {
301 static CorbaType
toAny(
const StdType& orig) {
306 static StdType
get(
const CorbaType t) {
310 static bool update(
const CORBA::Any& any, StdType& _value) {
313 if ( any >>= result ) {
314 _value =
toRTT(*result);
326 static bool updateAny( StdType
const& t, CORBA::Any& any ) {
338 static bool update(
const CORBA::Any& any, StdType& _value) {
339 RTT::corba::CTaskContext_ptr task;
340 if ( any >>= task ) {
355 static bool updateAny(
const StdType& t, CORBA::Any& any ) {
373 static bool toCorbaType(CorbaType& cb,
const StdType& orig) {
378 static CorbaType toAny(
const StdType& orig) {
382 static bool toStdType(StdType& dest,
const CorbaType orig) {
387 static bool update(
const CORBA::Any& any, StdType& ret) {
403 static bool updateAny( StdType
const& t, CORBA::Any& any ) {
CORBA::BooleanSeq sequence
static bool updateAny(StdType tp, CORBA::Any &any)
static CORBA::Any::to_char fromAny(CorbaType &t)
static bool toStdType(StdType &tp, const CorbaType &cb)
static CORBA::Any::from_boolean toAny(bool t)
static bool toStdType(StdType &tp, const CorbaType &cb)
static bool updateAny(char t, CORBA::Any &any)
static bool update(const CORBA::Any &any, CORBA::Any_var _value)
static bool update(const CORBA::Any &any, StdType tp)
static bool update(const CORBA::Any &any, StdType &_value)
static CORBA::Any_ptr createAny(const StdType &t)
static bool update(const CORBA::Any &any, StdType &_value)
static bool toCorbaType(CorbaType &cb, const StdType &tp)
static bool toCorbaType(CorbaType &cb, const StdType &tp)
static CORBA::Any_ptr createAny(CORBA::Any_var t)
static CTaskContext_ptr CreateServer(TaskContext *tc, bool use_naming=true, bool require_name_service=false)
CORBA::StringSeq sequence
static bool updateAny(const StdType &t, CORBA::Any &any)
static bool toCorbaType(CorbaType &cb, const StdType &tp)
RTT::corba::CTaskContext_ptr CorbaType
RTT::ConnPolicy toRTT(RTT::corba::CConnPolicy const &corba_policy)
static CORBA::Any_ptr createAny(CORBA::Any_ptr t)
static bool updateAny(const StdType &t, CORBA::Any &any)
static bool toStdType(StdType &dest, const CorbaType src)
RTT::corba::CConnPolicy CorbaType
static bool updateAny(StdType const &t, CORBA::Any &any)
static CORBA::Any::from_char toAny(StdType t)
static bool update(const CORBA::Any &any, StdType &_value)
static CorbaType toAny(const std::string &orig)
static bool toStdType(StdType &tp, const CorbaType &cb)
static CORBA::Any_ptr createAny(const std::string &t)
static bool update(const CORBA::Any &any, CORBA::Any_ptr _value)
RTT::corba::CConnPolicy toCORBA(RTT::ConnPolicy const &policy)
static CORBA::Any_ptr createAny(const StdType &t)
RTT::TaskContext * StdType
CORBA::LongLongSeq sequence
static CORBA::Any_ptr createAny(char t)
static CorbaType toAny(const StdType &orig)
static bool toCorbaType(T dest, const StdType &src)
static bool update(const CORBA::Any &any, StdType &_value)
static CORBA::Any_ptr createAny(StdType tp)
static bool updateAny(const StdType &t, CORBA::Any &any)
static bool update(const CORBA::Any &any, StdType &_value)
CORBA::ULongLongSeq sequence
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
static bool updateAny(bool t, CORBA::Any &any)
static bool updateAny(StdType const &t, CORBA::Any &any)
CORBA::DoubleSeq sequence
static TaskContextProxy * Create(std::string name, bool is_ior=false)
static CORBA::Any::to_boolean fromAny(CORBA::Boolean &t)
static CORBA::Any_ptr createAny(bool t)