ACE的包装器
ACE大量运用包装器模式,以期改变面向过程的系统API可视性以及错误处理较难的情况![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKYAAAMjCAIAAACgf/zWAAAgAElEQVR4nO2dP87rOMzus6cJspgB0mQjB3DnJUw3VZoBsoJpTufmTpEFHGA6V4PvAunuBfIVtmWSIqk/sR3Z4oO3eBPZEq3HlmQn/OX0/00V6P1+/8+k07eDMW0hZHn/f/+f/R3+D1n+MlUgs7w6meXV6f1+/59Jp8ftBHV7gA2f7YV9n5SdTqdL+4Rv3R6vl6vY29W0uZDlsyGPG/Ln2V4GJ6cyYN3jdprLnu3FFT7by7zd4zZvZPqqkOXQkmd7Ef0Cr4n/r9frcRvLZsuf7cX8LkZ4YEdFj3a2Djvm3oEXNShtJ6NPt4cZXpqQ5Sd28PUvZPcWUzRrsDxnRAdrAzxlnC7tE68SAkUmX8hyt8xCPcb4Ol7m7EWONjqdTpfLJckBVCk6YZ7t5XJxIwbaTikyEWHLBw3GS8u11yvF8nEsiL/Q8caobbQexK+VIhMRZ/nr9YKd/dnALtQgSfPKWxTMp4dSZCISLceOKcs3v2efT7JiF7bjpJ0d1FdQq1JkIhJv0mAvyjdpTNdOC/a8+3KmwunOwfMVnB5KkYkIr9jxLIoWTidhbYQf2sCux2M0emLzuAl3B3RD9Hjg2V5IHXg9zxeZiMhNGnlsCjU/jfVvxKV7Kre123nYQLMcNYU2eraXS/twFUcWmYjkubw8Kc907HFPvHZj+VO+hJUik6/dWG5aSsjy3lSBzPLqVKDl3f3efTuGIwtZfr+i+7TrHWzYNWf2fVJ2Op3OTQffut773lXs7cpVdG66hY/SBIQsnw25X5E/XXOejbhfkXX3KzCpa86usGvO83b3a6STXXM2y1cVsrwDBV1zFv0Cr4n/fd/fr2PZbHmKjWb52sIDOyq6N7N12AX3DryoQWkzGX263lNNNMvXFnngyvW2fyG7t5iiWYPl0SP6vNe56ebZ3/xfWnjFPnU0spHxdbzM2YscbXQ6nc7nc2jVRvYCe6D1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Nzac8mBtpO81NyYNf4sfV1pb8s3SPLjFk3PImbMnVgy39gYrGzx3a3fzrgTD16iXyx5XoC3U2VL1qAgbQR9gCE+p+h2xYti5izxT8R8Jz+9J9zfYY2HnD48roi2FMKMUCfdvXXN285y/1wE/VhkvoIpJ+/rDnkOyYsgnBNuoEPiMMrCNOuBVbtJlX4SqTmZ5dTLLq5OxYowVM8hYMcaKkTgMxopJSYkxVgwjY8WsLmPFVM2K+V8if5aZ8clqvQAAAABJRU5ErkJggg==)
包装器在若干场合能极大简化代码量,甚至是编码过程
比如ACE_Thread_Mutex
对象创建会自动初始化,很开心吧
ACE_Guard<ACE_Thread_Mutex>
定界加锁,我习惯称为自动锁,配合无间的好伙伴
而ACE_SOCK_Stream和ACE_SOCK_Acceptor、ACE_INET_Addr、ACE_SOCK_Connector联合起来爽极了
ace作为一个学术性质偏重的产物
过度的封装啊,这尼玛都是什么!
只是吐槽习惯,并没有对ACE的不满,这本来就是一个面向模式思想的产物,按照面向模式的想法,整个软件系统就是模式的集合体,尽可能的灵活可配置,复杂度不在考虑之内。