18 #ifdef __GLIBCXX__ // for memory management with shared_ptr
19 # include <tr1/memory>
22 # define __IBMCPP_TR1__
35 #include<boost/shared_ptr.hpp>
36 #include<boost/shared_array.hpp>
37 #include<boost/variant.hpp>
38 #include "LCMexception.hxx"
44 #define IntPtr boost::shared_array<int_32>
45 #define FloatPtr boost::shared_array<float_32>
46 #define StringPtr boost::shared_ptr<std::string>
47 #define DoublePtr boost::shared_array<double_64>
48 #define BoolPtr boost::shared_array<bool>
49 #define ComplexPtr boost::shared_array< std::complex<float_32> >
50 #define StringVecPtr boost::shared_ptr< std::vector<std::string> >
51 #define ClcmPtr boost::shared_ptr<Clcm>
54 #define AnyPtr boost::variant<IntPtr, FloatPtr, StringPtr, DoublePtr, BoolPtr, ComplexPtr>
55 #define IntPtrConst boost::shared_array<const int_32>
56 #define FloatPtrConst boost::shared_array<const float_32>
57 #define StringPtrConst boost::shared_ptr<const std::string>
58 #define DoublePtrConst boost::shared_array<const double_64>
59 #define BoolPtrConst boost::shared_array<const bool>
60 #define ComplexPtrConst boost::shared_array<const std::complex<float_32> >
143 Clcm(
const std::string stype,
const std::string myName,
const std::string myPath)
throw(
LCMexception);
146 Clcm(lcm *,
Clcm *,
const int_32,
const std::string,
const int_32,
const std::string)
throw(
LCMexception);
174 Clcm(lcm *mylcm,
const int_32
type,
const int_32 access,
const std::string OSname);
202 void expor(
const std::string stype);
215 void expor(
const std::string stype,
const std::string new_name);
271 bool isNew()
throw();
546 void put(
const std::string key, IntPtr myArray,
const int_32 myLength)
throw(
LCMexception);
555 void put(
const int_32 iset, IntPtr myArray,
const int_32 myLength)
throw(
LCMexception);
563 void put(
const std::string key, FloatPtr myArray,
const int_32 myLength)
throw(
LCMexception);
572 void put(
const int_32 iset, FloatPtr myArray,
const int_32 myLength)
throw(
LCMexception);
579 void put(
const std::string key, StringPtr myArray)
throw(
LCMexception);
594 void put(
const std::string key, StringVecPtr myArray)
throw(
LCMexception);
611 void put(
const std::string key, DoublePtr myArray,
const int_32 myLength)
throw(
LCMexception);
620 void put(
const int_32 iset, DoublePtr myArray,
const int_32 myLength)
throw(
LCMexception);
628 void put(
const std::string key, BoolPtr myArray,
const int_32 myLength)
throw(
LCMexception);
637 void put(
const int_32 iset, BoolPtr myArray,
const int_32 myLength)
throw(
LCMexception);
654 void put(
const std::string key, ComplexPtr myArray,
const int_32 myLength)
throw(
LCMexception);
663 void put(
const int_32 iset, ComplexPtr myArray,
const int_32 myLength)
throw(
LCMexception);
686 std::vector<AnyPtr> *global_list;